projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
665eba9
)
(fortran-electric-line-number): Add delete-selection property.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 6 Jun 1998 22:43:31 +0000
(22:43 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 6 Jun 1998 22:43:31 +0000
(22:43 +0000)
lisp/progmodes/fortran.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/fortran.el
b/lisp/progmodes/fortran.el
index c35eadda156064fae6a7791ccd03455961bfd932..ea537f011d84d7f91912fd524b1c5a5198f4099b 100644
(file)
--- a/
lisp/progmodes/fortran.el
+++ b/
lisp/progmodes/fortran.el
@@
-853,6
+853,7
@@
except that ] is never special and \ quotes ^, - or \."
(skip-chars-backward chars)
(delete-region (point) (progn (skip-chars-forward chars) (point))))
+(put 'fortran-electric-line-number 'delete-selection t)
(defun fortran-electric-line-number (arg)
"Self insert, but if part of a Fortran line number indent it automatically.
Auto-indent does not happen if a numeric ARG is used."